#ifndef TRIANGLE_H
#define TRIANGLE_H

#include "VertexBuffer.h"
#include "TriangleEffect.h"

namespace devii
{

class Triangle
{
public:
	Triangle();
	~Triangle();

	void init(VertexBuffer* vb, TriangleEffect* effect);

	void prepare();
	TriangleEffect* getEffect();
	VertexBuffer* getVertexBuffer();

private:
	VertexBuffer* vertex_buffer;
	TriangleEffect* effect;
};

}
#endif